/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Controller;

public class Fournisseur {

  private int id;
  private String nom;
  private String adresse;
  private Ville ville;

  public Fournisseur() {
  }

  public Fournisseur(int id, String nom, String adresse, Ville ville) {
	this.id = id;
	this.nom = nom;
	this.adresse = adresse;
	this.ville = ville;
  }
  
  @Override
  public String toString() {
	return nom;
  }

  public int getId() {
	return id;
  }

  public void setId(int id) {
	this.id = id;
  }

  public String getNom() {
	return nom;
  }

  public void setNom(String nom) {
	this.nom = nom;
  }

  public String getAdresse() {
	return adresse;
  }

  public void setAdresse(String adresse) {
	this.adresse = adresse;
  }

  public Ville getVille() {
	return ville;
  }

  public void setVille(Ville ville) {
	this.ville = ville;
  }
}
